import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
import warnings
warnings.filterwarnings("ignore")
mpl.rcParams.update(mpl.rcParamsDefault)
sns.set_style("white")

fish = pd.read_csv('C:/Users/Lenovo/Desktop/机器学习课程/Data-Visualization-master/Seaborn/Datasets/Fish.csv')
print(fish.head())
fish1 = fish[fish['Species'].isin(['Bream', 'Perch', 'Pike'])]
#fish1.head()
###################################################################################################
sns.pairplot(fish1, hue='Species')
plt.show()

sns.pairplot(fish1, hue='Species', palette='husl', size=2)
plt.show()

sns.pairplot(fish1, hue='Species', vars=['Length1', 'Width', 'Height', 'Weight'],
             height=3, aspect=1)
plt.show()